package ch.evaleto.gwt.media.client.player;

import java.util.Map;


import ch.evaleto.gwt.media.client.player.medias.NullMedia;

import com.google.gwt.user.client.ui.Image;

public interface Media {
	public static Media Null=new NullMedia();
	public enum Type{
		unknown, sound, radio, podcast, video, Null
	}
	public enum State{
		uninitialised, loading, failed, loaded
	};
	
	public Type					getType			(); 	
	public String 				getName			();
	public Image 				getImage		();
	public String 				getURL			();
	public String 				getID			();
	public String 				getUserTags		();
	public String 				getScheduleURL	();
	public String 				getComment		();
	public String 				getLove			();
	public String 				getVote			();
	public boolean 				isStream		();
	public boolean 				isPlaying		();
	public Map<String, String> 	getInformation	();
	public int 					getDuration		();
	public int 					position		();
	public void 				position		(int milliseconds);
	
	
}
